<template>
    <div>
        <p>教师年龄:{{age}}</p>
        <p>教师专业:{{major}}</p>
    </div>
</template>

<script>
export default {
    name:'Teacher',
    data() {
        return {
            age: 20,
            major:'web'
        }
    }
}
</script>

<style scoped>


</style>
